html, body {
  /* give body nearly full height of browser */
 height: 90.9%; /* value of 90.9% keeps footer at bottom of browser. */
}

body {
	/* background-image:  url(../img/grabag.jpg); */
	/* background-repeat: repeat; */
	background-color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	margin:	auto;	/* centering the page */
	position:	relative;
	width: 1000px;
}

/*
h1 {
	font-size: 1.2em;
	color: #954b4b;
}
*/

dl, dt, dd {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/********** Text *********/

h2 {
	font-size: 15px;
	color: #FFA438;
}

h3 {
	font-size: 13px;
	color: #bf8400;
	padding: 10px 0 2px 0;
	margin: 0 0 5px 0;
	width: 100%;
	border-bottom: 1px solid #e7d4c5;
	clear: both;
}

h4 {
	font-size: 12px;
}

hr {
	color: #cccccc;
	background-color: #cccccc;
	height: 1px;
	border: 0;
	width: 100%;
	clear: both;
}

.bold {
	font-weight: bold;
}

/************************************
 Important: Link pseudo-classes must be
            in this exact order
            or problem will occur
 ie. link > visited > hover > active
************************************/
a:link {
	color: #ffffff;
	text-decoration: none;
	border-bottom: none;
}
a:visited {
	color: #8CCBFF; /* #FFBE4D; */
	text-decoration: none;
	border-bottom: none;
}
a:hover {
	color: #00c;
	background-color: yellow;
}
a:active {
	color: #91FF8C;
}

/******************************************
 Header
*******************************************/
#header {
	/* background-image: url(../img/yourlogo.gif); */ /** Logo image */
	background-image: url(../img/headerbkgnd.png);
	background-repeat: repeat-x;
	/* background-position: 2% 15%; */
	background-color:	#121212; /* #675c47; */
	margin:	0px 5px 0px 5px;
	padding:0;
	height:	108px;
	border-left: solid black 1px;
	border-right: solid black 1px;
	border-bottom: solid orange 3px;
}

#header #logo {
	background-image: url(../img/yourlogo.gif);  /** Logo image */
	background-repeat: no-repeat;
	background-position: 2% 15%;
	height:	108px;   /* must be same as #header */
}

#header #slogan {
  position: relative;
  top: 60px;
  left: 150px;
  color: gold;
  font-size: 1.2em;
  font-weight: bold;
}

#header #siteaddress {
  position: relative;
  top: 66px;
  left: 25px;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
}

#header #nav {
  position: relative;
  bottom: -50px;
  right: -430px;
  width: 100%;
  color: white;
}

/******************************************
 Body Container
 - As the name suggests, it sits between header and footer
 - and contains left-nav-panel, main-content and right-sidebar
 having it is a clean approach to house everything between header and footer.
 I agree it is not such a nice name but serves its purpose.
*******************************************/
#body-container {
  background-image:  url(../img/grabag.jpg);
  background-repeat: repeat;
  /* background-color: #1D1D1D; /* #b5a789; */
  color: #aaaaaa;
  /*
   Works with footer to ensure is=footer is at bootom
   of browser all the time regardless of content height (cool!)
  */
  min-height: 100%;
  /* DO NOT PUT HERE: height: 100%; otherwise footer will not work in all cases */
  position: relative;
  top: 0;
  left: 0;
  margin-left: 5px;
  margin-right: 5px;
  padding: 0;
  border-top: solid black 1px;
  border-left: solid black 1px;
  border-right: solid black 1px;
}

/* Hides from IE5-mac \*/
* html #body-container {height: 1%;}
/* End hide from IE-mac */

/******************************************
 Left Panel (left navigation panel)
 - houses the navigation buttons on the left of page
*******************************************/
#left-panel {
  width: 180px;
  float: left;
  /* background-color: #b5a789; */
  margin-top: 10px;
  margin-left: 0px;
  padding: 0;
  color: #336;
  line-height: 1em;
  text-decoration: none;
  /*border: 1px white solid; */
}

/******************************************
 Main Content
 - This is your main page content
 - the area is between left-navbar and right-sidebar
*******************************************/
#main-content {
  margin-top: 10px;
  margin-left: 170px;	/* #left-panel(box width) + 10px */
  margin-right: 215px;	/* #right-sidebar(box width) + 10px */
  padding: 0px
  width: 310px;
  /* border: solid 1px gold; */
}

/* Hides from IE5-mac \*/
* html #main-content {height: 1%;}
/* End hide from IE-mac */

#main-content #title {
  font-size:1.5em;
  font-weight:bold;
  color:brown;
  margin: 0 0 5px 0;
}

/******************************************
 Right Sidebar
 - the area sits on the far right of the page
*******************************************/
#r-sidebar {
  float: right;
  width: 200px;
  padding: 0px;
  margin-top:	10px;
  margin-right:	5px;
  margin-bottom: 5px;
  margin-left: 5px;
  /*border: solid 1px green;*/
}

/** ruler separator */
#r-sidebar hr {
  width: 180px;
  border-bottom: 2px solid grey;
}
/** class = testimony */
#r-sidebar.testimony {
  color: #4e2700;         /* dark brown */
  font-size: 0.85em;
}
#r-sidebar.testimony img{
  display: block;
  float: left;
  margin-right: 5px;
}

/******************************************
 Footer
*******************************************/
#footer {
  clear: both;
  background-color:	#675c47;
  /*
   positions footer at bottom of browser.
   footer must be outside id=body-container and use -ve margin
   */
  margin-top: -0.1em;	/* use a -ve value eg. -0.8em */
  margin-bottom: 0px;
  margin-left: 5px;
  margin-right: 5px;
  padding-bottom: 2%;
  padding-top: 10px;
  padding-right: 0;
  text-align: center;
  position: relative;
  border-left: solid black 1px;
  border-right: solid black 1px;
}

#footer a, #footer span {
  font-size: 0.9em;
  color: silver;
}


/********** Clear *********/

.clear {
  clear: both;
}

.clearer {
  clear: both;
  display: block;
  height: 1px;
  margin-bottom: -1px;
  font-size: 1px;
  line-height: 1px;
}

.containerclearer {
  clear: both;
  display: block;
  height: 50px;
  margin-bottom: -1px;
  font-size: 1px;
  line-height: 1px;
}

/*******************************************
 Fixes problem when a float appears bigger than its container.
 Forces the block that follows to be displayed on next line.
 <div class="someOtherClass clearfix"> <!-- float container -->
 </div>
********************************************/
.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
* html .clearfix {display: block;}
/* End hide from RIE-mac */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear:both;
  visibility: hidden;
}
/* -------------------------------------------*/
